package com.zx.springcloud.dao;



import com.zx.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 支付mapper
 * @author ZX
 * @date 2021/3/2
 */
@Mapper
public  interface PaymentDao
{

    /**
     * 插入
     * @param payment
     * @return
     */
    int  insert(Payment payment);

    /**
     * 查询
     * @param id
     * @return Payment实体
     */
    Payment getPaymentById(@Param("id")Long id);
}
